<?php defined('SYS_PATH') or die('No direct script access.');
/*
|--------------------------------------------------------------------
| URI routing
|--------------------------------------------------------------------
|
| 'match'       = Regex rule
| 'controller'  = Controller name
| 'action'      = Action name
|
*/
$config['routes'] = array
(
    'UserProfile' => array
    (
        'match'      => '/user/[num]',
        'controller' => 'user', 
        'action'     => 'profile'
    ), 
    
    //Do not delete this default route
    'default' => array
    (
        'match'      => '[any]', 
        'controller' => 'index', 
        'action'     => 'index'
    )
);
?>